/**
 * @description hotwords model
 */

const mongoose = require("../db/index");
const wordSchema = mongoose.Schema(
  {
    word: String,
    hotCount: Number,
  },
  { timestamps: true }
);

const wordsModel = mongoose.model("hotword", wordSchema);

module.exports = wordsModel;
